//
//  DemoCollectionView.h
//  AFN_UIKit_Read
//
//  Created by tu jinqiu on 2017/8/30.
//  Copyright © 2017年 tu jinqiu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DemoCell : UICollectionViewCell

@property (nonatomic, strong, readonly) UIImageView *imageView;

@end

@class DemoCollectionView;

@protocol DemoCollectionViewWPDelegate <NSObject>

@optional
- (void)collectionView:(DemoCollectionView *)collectionView cell:(DemoCell *)cell atIndexPath:(NSIndexPath *)indexPath;

@end

@interface DemoCollectionView : UICollectionView

+ (instancetype)DemoCollectionViewWithWPDelegate:(id<DemoCollectionViewWPDelegate>)delegate;

@end
